<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Document</title>
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
    <style>
        .login {
            width: 80px;
        }
        [class^="col"] {
            border: 1px solid #ccc;
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 响应式布局 -->
        <div class="row">
            <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">1</div>
            <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">2</div>
            <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">3</div>
            <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">4</div>
            <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">11</div>
            <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">21</div>
            <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">31</div>
            <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">41</div>
        </div>
        <div class="row">
            <div class="col-lg-6">1</div>
            <div class="col-lg-2">2</div>
            <div class="col-lg-2">3</div>
            <div class="col-lg-2">4</div>
        </div>
        <!-- 偏移 -->
        <div class="row">
            <div class="col-md-4">1</div>
            <div class="col-md-4 offset-md-4">2</div>
        </div>

        <!-- 排序 -->
        <div class="row">
            <div class="col-md-6 order-2">1</div>
            <div class="col-md-6 order-1">2</div>
        </div>

        <!-- 隐藏 -->
        <div class="row">
            <div class="col-lg-3 ">1</div>
            <div class="col-lg-3 ">2</div>
            <div class="col-lg-3 "><span class="visible-lg">大屏显示</span></div>
            <div class="col-lg-3 ">4</div>
        </div>
    </div>
</body>
</html>